﻿<phone:PhoneApplicationPage
    x:Class="Social_Celebrities.Views.BloggerLogin"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" > 
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel 
            Grid.Row="0" 
            Margin="12,17,0,28">
            <Image 
                Width="320" 
                Height="96" 
                Source="/Images/Blogger.jpg"/>
        </StackPanel>
        <StackPanel 
            Orientation="Vertical" 
            Grid.Row="1" >
            <StackPanel 
                Orientation="Horizontal" 
                Margin="10,20,0,0">
                <TextBlock 
                    Text="Username " 
                    Margin="10,20,0,0" 
                    FontSize="30" 
                    FontWeight="SemiBold"/>
                <TextBox 
                    Width="300" 
                    InputScope="EmailUserName" 
                    x:Name="TbUser" 
                    Height="80"/>
            </StackPanel>
            <StackPanel 
                Orientation="Horizontal" 
                Margin="10,20,0,0">
                <TextBlock 
                    Text="Password" 
                    Margin="10,20,0,0" 
                    FontSize="30" 
                    FontWeight="SemiBold" 
                    Height="47"/>
                <PasswordBox 
                    x:Name="TbPass" 
                    Width="300" 
                    Margin="20,0,0,0" 
                    Height="80"/>
            </StackPanel>
            <StackPanel 
                Orientation="Horizontal" 
                Margin="40,50,0,0">
                <Button 
                    x:Name="Signin" 
                    Click="Signin_Click" 
                    Content="Sign In" 
                    Width="120" 
                    Height="70" 
                    Margin="35,0,0,0"/>
                <Button 
                    x:Name="cancel" 
                    Click="cancel_Click" 
                    Content="Cancel" 
                    Width="120" 
                    Height="70" 
                    Margin="60,0,0,0"/>
            </StackPanel>
        </StackPanel>                    
        <StackPanel 
            x:Name="BlogLoginAd" 
            Grid.Row="2" 
            Orientation="Vertical" 
            Margin="0,0,0,0"/>
    </Grid>

</phone:PhoneApplicationPage>